home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / usr_-_Usr_Files / INCLUDE / BYTESEX.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  467b  |  17 lines

  1. #ifndef _BYTESEX_H
  2. #define _BYTESEX_H
  3.  
  4. #undef __BYTE_ORDER
  5.  
  6. #if defined(__i386__) || defined(__alpha__) \
  7.     || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
  8. # define __BYTE_ORDER    1234
  9. #elif defined(__mc68000__) || defined (__sparc__) || defined (__PPC__) \
  10.     || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
  11. # define __BYTE_ORDER    4321
  12. #else
  13. # error architecture not supported by the Linux C library
  14. #endif
  15.  
  16. #endif /* _BYTESEX_H */
  17.